package BaseTest

import scala.collection.mutable.ListBuffer

object ListDemo {
  def main(args: Array[String]): Unit = {
    val lb = new ListBuffer[Int]
    val ls = List(1, 2, 3, 4, 5, 6, 7, 8, 9, 11)
    lb += 4
    lb ++= List(7, 5, 4, 9, 4, 6)

    val m = lb :+ 4
    println(m)
    println(lb)
  }

}
